package com.demo.service.impl;

import com.demo.dao.MsgMapper;
import com.demo.pojo.Msg;
import com.demo.service.MsgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MsgServiceimpl implements MsgService {

    @Autowired
    MsgMapper msgMapper;
    @Override
    public int add(Msg msg) {
        return msgMapper.add(msg);
    }
}
